package com.yida.gwj.common.enums;

/**
 * 业务步骤配置信息表枚举
 *
 * @author liangp
 * @date 2023/02/20
 */
public enum StepConfigInfoEnum {

    /**
     * 维修基金错误代码
     */
    NULL(0, "null","不校验"),
    SAVE(1, "save", "保存"),
    SEND(2, "send", "送件"),
    LOG(3, "log", "查看流程"),
    SUBMIT(4, "submit", "提交"),
    INVALID(5, "invalid", "业务作废"),
    FALL_BACK(6, "fallback", "退回"),
    DELETE_PAGE(7, "delete_page", "删页"),
    SUBMIT_EDIT(8, "submit_edit", "提交编辑"),
    SUBMIT_SIGN(9, "submit_sign", "提交签署意见"),
    FALLBACK_SIGN(10, "fallback_sign", "回退签署意见"),
    SUBMIT_CHOOSE_USER(11, "submit_choose_user", "提交选择用户"),
    GENERATE_FINANCIAL_STATEMENT(12, "generate_financial_statement", "生成财务流水"),
    FINANCE_CHECK(13, "finance_check", "财务对账"),
    TAKE_PARTS(14, "take_parts", "取件"),
    RETREAT_PARTS(15, "retreat_parts", "退件"),
    EXAMINE(16, "examine", "审核"),
    CONFIRM_ACCEPTANCE(17, "confirm_acceptance", "确认受理"),
    ;

    StepConfigInfoEnum(Integer no, String code, String msg) {
        this.no = no;
        this.code = code;
        this.msg = msg;
    }

    public Integer getNo() {
        return no;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    /**
     * 序列号
     */
    private final Integer no;

    /**
     * 错误码
     */
    private final String code;

    /**
     * 描述
     */
    private final String msg;


}
